package com.amos.cmp_android.utils;

import com.amos.cmp_android.model.AcademyModel;
import com.amos.cmp_android.model.FacultyModel;

import java.util.List;

/**
 * Created by Amos on 2016/4/15.
 */
public class Model2Str {
    public static void Academys2Str(List<AcademyModel> models,List<String> stringList){
        for(AcademyModel model : models){
            stringList.add(model.getAname());
        }
    }
    public static void Facultys2Str(List<FacultyModel> models,List<String> stringList){
        for(FacultyModel model : models){
            stringList.add(model.getName());
        }
    }
}
